pp108 : Testing Web Service Operations Using Service Test Tool

Testing Web Service Operations Using Service Test Tool

This topic describes the procedure to test Web service operations.

Before you begin this task: You must have the role of a developer for testing Web service operations.


The Service Test Tool is used to test the Web service operation and check if the SOAP Request and Response are generated properly to send and receive SOAP messages. The tool offers a feature to compose and edit the outgoing SOAP messages.

  1. On CUSP > My Applications, click (Service Test Tool). The Service Test Tool window appears.
  2. Select the Service Container from the Services drop-down list. The associated Web service Interfaces (method sets) are populated in the Web Services Interface drop-down list.
  3. Select a Web services interface. The associated operations (methods) are populated in the Operations drop-down list.
  4. Select an operation and click Compose the Request button. The request SOAP message for the selected Web service operation is composed and is displayed in the Test Request frame.
  5. Click Test Operation to send the message to the particular Service Group. The Result Messages section is updated with the request and response messages.
  6. Click a Response or Request Message for the results of the Web service operation for the given parameter value. Refer to Result Messages Interface for information on the Result Messages section. The Service Test Tool - Response Message or Request Message dialog box appears with the message received in XML format.
  7. Click Clear Messages to clear the request and response messages from the Result Messages section.

    Note: Certain parameters that are set in the SOAP request constitute the message options required for reliable messaging and include No Reply and Transactional. Transactional indicates that the message has a preference to be sent using a transactional transport such as msmq or jms. If the receiving service has no transactional transport, the connection points in a non-transactional transport such as a socket will be used. Depending on the option selected, following values are set for the message options while sending the SOAP request.

    • When neither of the options is selected, the default message options value is set to 0.
    • Selecting No Reply sets the message options value to 1.
    • Selecting Transactional sets the message options value to 2.
    • Selecting both No Reply and Transactional sets the message options value to 3.

Related tasks

Validating Web Service Operations

Related reference

Result Messages Interface

Related information

Working with Web Service Interface Explorer